package User;

import Book.BookList;
import Operation.Ioperation;

public abstract class User {
    protected String name;
    public User(String name) {
        this.name = name;
    }
    public Ioperation[] ioperations ;
    public abstract int menu();
    public void doOperatoin(int choice, BookList bookList){
        ioperations[choice].work(bookList);
    }
}
